<%@ include file="/WEB-INF/jsp/includes.jsp" %>
<%@ include file="/WEB-INF/jsp/header.jsp" %>
<%@ include file="/WEB-INF/jsp/menu.jsp" %>


<p>HU-01 / Crear y modificar ideas</p>

<form id="form1" name="form1" method="post" action="Procesar.html">
<table width="357" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="160" bgcolor="#999999">Codigo de usuario </td>
    <td width="197">
      <label>
        <input type="text" name="txt_idusuario" />
        </label>    </td>
  </tr>
  <tr>
    <td bgcolor="#999999">Titulo de idea </td>
    <td><label>
      <input type="text" name="txt_titulo" />
    </label></td>
  </tr>
  <tr>
    <td bgcolor="#999999">Descripcion</td>
    <td><label>
      <textarea name="txt_descripcion"></textarea>
    </label></td>
  </tr>
  <tr>
    <td rowspan="4" bgcolor="#999999">Palabras claves (04) </td>
    <td><label>
      <input type="text" name="txt_palabra_clave_01" />
    </label></td>
  </tr>
  <tr>
    <td><label>
      <input type="text" name="txt_palabra_clave_02" />
    </label></td>
  </tr>
  <tr>
    <td><label>
      <input type="text" name="txt_palabra_clave_03" />
    </label></td>
  </tr>
  <tr>
    <td><label>
      <input type="text" name="txt_palabra_clave_04" />
    </label></td>
  </tr>
   <tr>
    <td colspan="2" align="center">
          <input type="submit" name="Submit" value="Crear Idea" />
	</td>
  </tr>
</table>

<c:if test="${NIdea.idIdea <= 0}">
	<script>
	alert('${NIdea.Error}');
	</script>
</c:if>

<c:if test="${NIdea.idIdea > 0}">
	<script>
	alert('datos grabados correctamente');
	</script>
</c:if>
</form>
<%@ include file="/WEB-INF/jsp/footer.jsp" %>